@echo off
for /l %%i in (1,1,14) do (
    ping -n 1 -w 100 172.20.10.%%i >nul && echo 172.20.10.%%i is alive
)
pause
